#######################################
# 文件夹编译配置,在这里添加要包含的代码目录 #
#######################################
include config.mk

# platform
FE_INCS += $(EXT_INCS)
FE_LIBS += $(EXT_LIBS)

# libs
FE_INCS += -I$(LIBS_PATH)/include
FE_INCS += -I$(LIBS_PATH)/include/freetype2
FE_LIBS += -L$(LIBS_PATH)/lib

# libs adapt
FE_SRCS += ${wildcard $(ROOT_PATH)/libs-adapt/*.c $(ROOT_PATH)/libs-adapt/*.cpp}
FE_INCS += -I$(ROOT_PATH)/libs-adapt

# format
FE_SRCS += ${wildcard $(ROOT_PATH)/format/*.c $(ROOT_PATH)/format/*.cpp}
FE_INCS += -I$(ROOT_PATH)/format

# 3d
FE_SRCS += ${wildcard $(ROOT_PATH)/3d/*.c $(ROOT_PATH)/3d/*.cpp}
FE_INCS += -I$(ROOT_PATH)/3d

# util
FE_SRCS += ${wildcard $(ROOT_PATH)/util/*.c $(ROOT_PATH)/util/*.cpp}
FE_INCS += -I$(ROOT_PATH)/util

# platform-base
FE_SRCS += ${wildcard $(ROOT_PATH)/platform/base/*.c $(ROOT_PATH)/platform/base/*.cpp}
FE_INCS += -I$(ROOT_PATH)/platform/base

# platform-xxx
FE_SRCS += ${wildcard $(ROOT_PATH)/platform/$(PLATFORM)/audio/*.c $(ROOT_PATH)/platform/$(PLATFORM)/audio/*.cpp}
FE_INCS += -I$(ROOT_PATH)/platform/$(PLATFORM)/audio
FE_SRCS += ${wildcard $(ROOT_PATH)/platform/$(PLATFORM)/com/*.c $(ROOT_PATH)/platform/$(PLATFORM)/com/*.cpp}
FE_INCS += -I$(ROOT_PATH)/platform/$(PLATFORM)/com
FE_SRCS += ${wildcard $(ROOT_PATH)/platform/$(PLATFORM)/devinfo/*.c $(ROOT_PATH)/platform/$(PLATFORM)/devinfo/*.cpp}
FE_INCS += -I$(ROOT_PATH)/platform/$(PLATFORM)/devinfo
FE_SRCS += ${wildcard $(ROOT_PATH)/platform/$(PLATFORM)/display/*.c $(ROOT_PATH)/platform/$(PLATFORM)/display/*.cpp}
FE_INCS += -I$(ROOT_PATH)/platform/$(PLATFORM)/display
FE_SRCS += ${wildcard $(ROOT_PATH)/platform/$(PLATFORM)/input/*.c $(ROOT_PATH)/platform/$(PLATFORM)/input/*.cpp}
FE_INCS += -I$(ROOT_PATH)/platform/$(PLATFORM)/input
FE_SRCS += ${wildcard $(ROOT_PATH)/platform/$(PLATFORM)/storage/*.c $(ROOT_PATH)/platform/$(PLATFORM)/storage/*.cpp}
FE_INCS += -I$(ROOT_PATH)/platform/$(PLATFORM)/storage
FE_SRCS += ${wildcard $(ROOT_PATH)/platform/$(PLATFORM)/sys/*.c $(ROOT_PATH)/platform/$(PLATFORM)/sys/*.cpp}
FE_INCS += -I$(ROOT_PATH)/platform/$(PLATFORM)/sys

# ui
FE_SRCS += ${wildcard $(ROOT_PATH)/ui/*.c $(ROOT_PATH)/ui/*.cpp}
FE_INCS += -I$(ROOT_PATH)/ui

# system
FE_SRCS += ${wildcard $(ROOT_PATH)/system/*.c $(ROOT_PATH)/system/*.cpp}
FE_INCS += -I$(ROOT_PATH)/system

# scene
FE_SRCS += ${wildcard $(ROOT_PATH)/scene/*.c $(ROOT_PATH)/scene/*.cpp}
FE_INCS += -I$(ROOT_PATH)/scene
